package com.whut.v_dataMap.SummaryReport.Part4;

import java.util.List;
import java.util.Objects;

/**
 * 问题List
 */
public class System7Map {

    //序号和标题
    private String system7No;
    private String system6Title;
    //问题描述
    private String problemDescription;
    //规范条款
    private String provision;
    //图片
    private List<String> imageList;
    //图片，一行放两张
    private List<ReportPic> imageListDouble;

    //图片信息先存这里
    private String imagePath;
    private String imageName;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof System7Map)) return false;
        System7Map that = (System7Map) o;
        return Objects.equals(system6Title, that.system6Title) &&
                Objects.equals(problemDescription, that.problemDescription) &&
                Objects.equals(provision, that.provision);
    }

    @Override
    public int hashCode() {
        return Objects.hash(system6Title, problemDescription, provision);
    }

    @Override
    public String toString() {
        return "System7Map{" +
                "system7No='" + system7No + '\'' +
                ", system6Title='" + system6Title + '\'' +
                ", problemDescription='" + problemDescription + '\'' +
                ", provision='" + provision + '\'' +
                ", imageList=" + imageList +
                ", imageListDouble=" + imageListDouble +
                ", imagePath='" + imagePath + '\'' +
                ", imageName='" + imageName + '\'' +
                '}';
    }

    public List<ReportPic> getImageListDouble() {
        return imageListDouble;
    }

    public void setImageListDouble(List<ReportPic> imageListDouble) {
        this.imageListDouble = imageListDouble;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public String getImageName() {
        return imageName;
    }

    public void setImageName(String imageName) {
        this.imageName = imageName;
    }

    public String getSystem7No() {
        return system7No;
    }

    public void setSystem7No(String system7No) {
        this.system7No = system7No;
    }

    public String getSystem6Title() {
        return system6Title;
    }

    public void setSystem6Title(String system6Title) {
        this.system6Title = system6Title;
    }

    public String getProblemDescription() {
        return problemDescription;
    }

    public void setProblemDescription(String problemDescription) {
        this.problemDescription = problemDescription;
    }

    public String getProvision() {
        return provision;
    }

    public void setProvision(String provision) {
        this.provision = provision;
    }

    public List<String> getImageList() {
        return imageList;
    }

    public void setImageList(List<String> imageList) {
        this.imageList = imageList;
    }

}
